﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ErrorLogger
{
    class Program
    {
        public static void Main(string[] args)
        {
            ErrorLogSerializer<string> serializer = new ErrorLogSerializer<string>();
            string obj =
                "This class represents the gzip data format, which uses an industry standard algorithm for lossless file compression and decompression. The format includes a cyclic redundancy check value for detecting data corruption. The gzip data format uses the same algorithm as the DeflateStream class, but can be extended to use other compression formats. The format can be readily implemented in a manner not covered by patents. ";
            byte[] result = serializer.Serialize(obj);
            string res = serializer.Deserialize(result);
        }
    }
}
